home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / CUMENU.AML < prev    next >
Text File  |  1996-07-17  |  17KB  |  429 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // MENU.AML
  5. // Aurora/CUA Menu definitions (included by Main.aml)
  6. //
  7. // If you have made any changes, save this file and select Recompile
  8. // the Editor from the Set menu. Exit and re-enter the editor for
  9. // your changes to take effect.
  10. //--------------------------------------------------------------------
  11.  
  12. //--------------------------------------------------------------------
  13. // Edit Window menu bar and tool bar
  14. //--------------------------------------------------------------------
  15.  
  16. function  EditMen
  17.  
  18.   // menu bar
  19.   menubar "" 1
  20.     item "&File"     "editFile"
  21.     item "&Edit"     "editEdit"
  22.     item "&Block"    "editBlock"
  23.     item "&Search"   "editSearch"
  24.     item "&Text"     "editText"
  25.     item "F&old"     "editFold"
  26.     item "M&acro"    "editMacro"
  27.     item "O&ptions"  "editSet"
  28.     item "&Window"   "editWindow"
  29.     item "&Help"     "editHelp"
  30.   end
  31.  
  32.   // tool bar
  33.   menubar "" 2
  34.     item "<&&≡>"     toolbar                 // close tool bar
  35.     item "<&&?>"     quickref 'u' 'f'        // users guide
  36.     item "<&&*>"     open "*.*"              // display file manager
  37.     item "<&&/>"     copywin                 // copy window
  38.     item "<&&/>"     copywin                 // copy window
  39.     item "<&&─>"     splitwin 'h'            // split window horz
  40.     item "<&&|>"     splitwin 'v'            // split window vert
  41.     item "<&&o>"     askopen                 // open prompt
  42.     item "<&&s>"     save                    // save file
  43.     item "<&&F>"     askfind                 // find prompt
  44.     item "<&&f>"     findlast                // do last find/replace
  45.     item "<&&r>"     formatblock2            // reformat block
  46.     item "<&&«>"     undo                    // undo last change
  47.     item "<&&»>"     redo                    // redo last change
  48.     item "<&&>>"     foldblock2              // fold block
  49.     item "<&&<>"     destroyfold2            // unfold line
  50.   end
  51. end
  52.  
  53.  
  54. //--------------------------------------------------------------------
  55. // Edit Window pulldown menus
  56. //--------------------------------------------------------------------
  57.  
  58. forward print2
  59. menu  "editFile"
  60.   item " New                     <ctrl n>"   opennew
  61.   item " &Open..            <f3>, <ctrl o>"  askopen
  62.   item " Open and &Insert..        <alt i>"  askinsert
  63.   item " &Rename..                 <alt n>"  askname
  64.   item " &Save              <f2>, <ctrl s>"  save
  65.   item " Save &As.."                         asksaveas
  66.   item "-"
  67.   item " &File Manager..              <f4>"  open "*.*"
  68.   item " &Tree.."                            runmacro2 "tree"
  69.   item " &Next"                              nextfile
  70.   item " Pre&v"                              prevfile
  71.   item " &List..                   <alt ->"  filelist
  72.   item "─"
  73.   item " &Print                   <ctrl p>"  print2
  74.   item " Printer Settin&gs..|*"              runcfg "print"
  75.   item "─"
  76.   item " &Close         <alt q>, <ctrl f4>"  close
  77.   item " E&xit          <alt x>,  <alt f4>"  closeall
  78.   item " Clos&e and Save"                    close 's'
  79.   item " Exit an&d Save All"                 closeall 's'
  80. end
  81.  
  82. menu  "editEdit"
  83.   item " &Undo                      <ctrl z>"  undo
  84.   item " &Redo                      <ctrl a>"  redo
  85.   item "─"
  86.   item " Cu&t                       <ctrl x>"  cut
  87.   item " Cut L&ine                  <ctrl y>"  cut
  88.   item " Cut &Append          <shift ctrl x>"  cut 'a'
  89.   item " Cut Append Li&ne     <shift ctrl y>"  cut 'a'
  90.   item "─"
  91.   item " &Copy                      <ctrl c>"  copy
  92.   item " Cop&y Append         <shift ctrl c>"  copy 'a'
  93.   item " Copy to &Windows           <ctrl u>"  copy 'w'
  94.   item "─"
  95.   item " &Paste                     <ctrl v>"  paste
  96.   item " Paste &Over          <shift ctrl v>"  paste 'o'
  97.   item " Paste &from Windows  <shift ctrl u>"  paste 'w'
  98.   item " &Delete                       <del>"  paste 'w'
  99.     if getmarkbuf == getcurrbuf then
  100.       deleteblock
  101.     end
  102.   item "─"
  103.   item " C&lear                   <ctrl del>"  clear
  104.   item " Current Clip&board..|*"               askclip
  105. end
  106.  
  107. menu  "editMark"
  108.   item " Mark &Line         <alt l>"   markline
  109.   item " Mark &Column       <alt k>"   markcolumn
  110.   item " Mark C&haracter"              markchar
  111.   item " Mark &Word         <alt 1>"   markword
  112.   item " Mark to &EOL       <alt 2>"   markeol
  113.   item " Mark &Paragraph    <alt 3>"   markpara "tb"
  114.   item "─"
  115.   item " &Unmark            <alt u>"   destroymark
  116. end
  117.  
  118. menu  "editBlock"
  119.   item " Mar&k..                      "    submenu "editMark"
  120.   item " &Copy                  <alt c>"    copyblock2
  121.   item " &Move                  <alt m>"    moveblock2
  122.   item " Copy &Over                    "    copyblockover
  123.   item " Mo&ve Over            <ctrl m>"    moveblockover
  124.   item " &Delete                <alt d>"    deleteblock2
  125.   item " &Indent             <shift f8>"    shiftblock  1
  126.   item " UnInden&t           <shift f7>"    shiftblock -1
  127.   item "─"
  128.   item " &Fill              <ctrl k><f>"    fillblock2
  129.   item " S&ave..            <ctrl k><s>"    saveblock2
  130.   item " &Sort              <ctrl k><o>"    sortblock2
  131.   item " Lo&wercase"                        caseblock 'l'
  132.   item " U&ppercase         <ctrl k><u>"    caseblock
  133.   item "─"
  134.   item " Ce&nter            <ctrl k><c>"    justblock2 'c'
  135.   item " &Left Justify"                     justblock2 'l'
  136.   item " Ri&ght Justify"                    justblock2 'r'
  137.   item " &Reformat              <alt r>"    formatblock2
  138.   item " R&eformat Right        <alt y>"    formatblock2 "rj"
  139. end
  140.  
  141. menu  "editSearch"
  142.   item " &Find..             <f5>, <ctrl f>"   askfind
  143.   item " Re&place..                <ctrl g>"   askrepl
  144.   item " &Repeat Last Find/Repl    <ctrl l>"   findlast
  145.   item " &Scan Files..          <ctrl q><s>"   askscan
  146.   item " &Incremental Search       <ctrl i>"   isearch
  147.   item " Find &Occurrences..       <ctrl h>"   askfindo
  148.   item "─"
  149.   item " &Quick Bookmark           <ctrl 2>"   quickbook
  150.   item " Pre&v Bookmark            <ctrl 6>"   cyclebook
  151.   item " Place &Bookmark.."                    placebook
  152.   item " &Go to Bookmark.."                    askbook
  153.   item "─"
  154.   item " Go to &Line..             <ctrl j>"   askrow
  155.   item " Go to Bloc&k Start        <ctrl b>"   gotomark 't'
  156.   item " Go to Block En&d"                     gotomark 'b'
  157.   item " Go to Ne&xt Fold           <alt 7>"   search2 "f/f"
  158.   item "─"
  159.   item " Find &Matching Char       <ctrl ]>"   gotomatch2
  160.   item " Go to Compiler &Error     <alt f7>"   gotoerror
  161. end
  162.  
  163. menu  "editText"
  164.   item " &Insert Line       <ctrl enter>"   insline2
  165.   item " &Delete Line       <ctrl baksp>"   delline
  166.   item " &Join Line              <alt j>"   joinline
  167.   item " &Split Line"                       splitline2
  168.   item "─"
  169.   item " Ce&nter Line            <alt 6>"   centerline
  170.   item " &Comment Line          <alt f1>"   commentline
  171.   item " Delete Right &Word     <ctrl t>"   delword
  172.   item " Du&plicate Line         <alt 4>"   copyblock '*l'
  173.   item " &Erase to End          <alt f6>"   delchar MAX_COL
  174.   item " Sw&ap Lines             <alt 5>"   swapline
  175.   item "─"
  176.   item " Ascii C&hart..          <alt =>"   asciilist
  177.   item " Date/&Time Stamp    <ctrl k><t>"   timestamp
  178.   item " Enter &Literal..       <ctrl [>"   literal
  179.   item " E&xpand Tabs        <ctrl k><x>"   tabfile
  180.   item " Hi&ghlight Word       <ctrl \\>"   hiliteword
  181. end
  182.  
  183. menu  "editFold"
  184.   item " &Fold Next Line          <alt 8>"    foldline
  185.   item " &Unfold Next Line        <alt 9>"    foldline 'u'
  186.   item "─"
  187.   item " Crea&te Fold"                        createfold
  188.   item " &Open Fold               <alt \\>"   openfold
  189.   item " &Close Fold              <alt \\>"   closefold
  190.   item " &Remove Fold             <alt g>"    destroyfold2
  191.   item "─"
  192.   item " Fold Bloc&k"                         foldblock2
  193.   item " Fold Block Fl&at"                    foldflat
  194.   item " O&pen Block Folds"                   foldblock 'os'